package com.rainbow.seata.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@TableName("t_storage")
@Accessors(chain = true)
@ApiModel(value="库存表", description="库存")
public class Storage implements Serializable {
    private static final long serialVersionUID=1L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    private String commodityCode;
    private String name;
    private Integer count;
}
